﻿using Coldairarrow.Entity.DTO;
using Coldairarrow.Entity.PB;
using Coldairarrow.Util;
using Coldairarrow.Util.ClassLibrary;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.PB
{
    public partial interface IPB_StationBusiness
    {
        Task<PageResult<PB_StationDTO>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<PageResult<PB_Station>> GetDataListByWorkshopAsync(string workshopId);
        Task<PageResult<PB_Station>> GetDataListByDepartmentAsync(string DeptId);
        Task<PB_Station> GetTheDataAsync(string id);
        Task AddDataAsync(PB_Station data);
        Task UpdateDataAsync(PB_Station data);
        Task DeleteDataAsync(List<string> ids);
        /// <summary>
        /// 打印工位二维码
        /// </summary>
        /// <param name="ID"></param>
        /// <param name="_mongodbOptions"></param>
        /// <returns></returns>
        Task<AjaxResult> SelectStationID(string ID, MongoDBOptions _mongodbOptions);
    }
}